from ftllibs.items.itemtools import ItemIconData

class Item_3181():
    def __init__(self):
        self.parent=False
        self.Name="Sanguine Blade"
        self.IconFileName="3181.png"
        self.ID=3181
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1038','1053']
        self.Builds_Into=[]
        self.Tags=['damage','life_steal']
        self.Costs = 800
        self.Total_Costs = 2900
        self.Description="+60 Attack Damage +15% Life Steal  UNIQUE Passive: Your basic attacks grant 5 Attack Damage and 1% Life Steal for 4 seconds (effect stacks up to 7 times)."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["twistedtreeline","dominion","provinggrounds"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Damage += 60.0
        self.parent.Life_Steal += 15.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

